package com.briup.cms.service;

import com.briup.cms.bean.Comment;
import com.briup.cms.exception.CustomerException;
import com.github.pagehelper.PageInfo;

public interface ICommentService {
    //查看评论审核状态
    void checkComment(int paramInt1, int paramInt2) throws CustomerException;

    // 分页查询所有评论
    PageInfo<Comment> pageQuery(int paramInt1, int paramInt2, String paramString);

    // 通过id删除评论
    void deleteById(int paramInt) throws CustomerException;

    // 批量删除评论
    void batchDelete(int[] paramArrayOfint) throws CustomerException;

    // 通过comment_article_id 删除评论
    void deleteCommentArticleId(Integer paramInt) throws CustomerException;

    //新增评论
    void insert(Comment record) throws CustomerException;
}
